package _designPatterm.访问者模式;

public class Failure extends Action {

    @Override
    public void getAction(Man man) {
        System.out.println("男人给的失败");
    }

    @Override
    public void getAction(Woman Woman) {
        System.out.println("女人给的失败");
    }

}
